import { createApp } from 'vue';
import './style.css';
import App from './App.vue';
// 引入并创建pinia实例
import { createPinia } from 'pinia';
const pinia = createPinia();
import installElementPlus from './plugins/element';
import router from './router';
import Components from './components/index';
// 挂载
createApp(App)
  .use(installElementPlus)
  .use(pinia)
  .use(router)
  .use(Components)
  .mount('#app');
